<?php
class StudyAction extends Action {
	public function index () {
			if (!empty($_SESSION[C('USER_AUTH_KEY')])){
				$this->assign('path',APP_NAME);
				$this->display();
				}
			else
			$this->redirect('User/login','',3,'请登陆后使用！');
	}
}